package com.lianjia.sh.se.kafka.client;

import com.lianjia.sh.se.BaseJunit;
import org.junit.Test;

/**
 * Created by yangsp1 on 16/7/27.
 */
public class ThreadTest2 {



    public static void main(String args[]) throws Exception {
        new Thread(){
            @Override
            public void run() {
                while (true){
                    System.out.println("11111111");
                    try {
                        Thread.sleep(1000);
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
            }
        }.start();
    }
}